package com.intelligent.health.setmeal.service;

import com.intelligent.health.setmeal.dto.CheckItemDto;
import com.intelligent.health.setmeal.pojo.CheckItem;
import com.intelligent.health.setmeal.vo.CheckItemVo;
import entity.PageResult;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: torlesse-liang
 * @Date: 2022/03/13/22:36
 * @Description:
 */
public interface CheckItemService {
    PageResult<CheckItemVo> queryCheckItemByPage(CheckItemDto checkItemDto, Integer pageNum, Integer pageSize);

    CheckItem queryCheckItemById(Integer checkItemId);

    void addCheckItem(CheckItem checkItem);

    void editCheckItem(CheckItem checkItem);

    void delCheckItemById(Integer checkItemId);

    void delBatchCheckItem(ArrayList<Integer> checkItemIds);

    List<CheckItem> queryCheckItems(HashMap<String, Object> hashMap);
}
